<?php

namespace Core;

abstract class ServiceProvider
{
    protected $container;
    
    public function __construct(Container $container)
    {
        $this->container = $container;
    }
    
    // 注册服务
    abstract public function register();
    
    // 启动服务（可选）
    public function boot()
    {
        //
    }
}
